package org.shj.pattern.state;

public class Context {

	private State status;
	
	private String curStatus;
	
	public Context(State status){
		this.status = status;
	}
	
	public void request(){
		status.handle(this);
	}

	public State getStatus() {
		return status;
	}

	public void setStatus(State status) {
		this.status = status;
	}

	public String getCurStatus() {
		return curStatus;
	}

	public void setCurStatus(String curStatus) {
		this.curStatus = curStatus;
	}
	
	
}
